<script setup lang="ts"></script>

<template>
  <div class="nav-searchbar-wrapper">
    <div class="search-icon"></div>
    <div class="search-placeholder">输入关键字搜索</div>
  </div>
</template>

<style lang="scss" scoped>
.nav-searchbar-wrapper {
  width: 160px;
  height: 42px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  .search-icon {
    width: 20px;
    height: 20px;
    background-image: url('./imgs/search.png');
    background-size: 100% 100%;
    margin-left: 16px;
  }
  .search-placeholder {
    font-family: 'PingFangSC-Regular';
    font-weight: 400;
    font-size: 12px;
    color: var(--white-color);
    margin-left: 12px;
  }
}
</style>
